﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevFx.Model;

namespace DevFx.Biz
{
  public  class MenuBiz : BaseBiz<SysMenu>
    {
        public static List<SysMenu> GetMenuList()
        {
            using (Model.Entities db = new Entities())
            {
                IQueryable<SysMenu> menu1 = from c in db.SysMenus orderby c.OrderNo ascending select c;
                // OrderBy(menu1,"OrderNo");
                return menu1.ToList();
            }
        }
    }
}
